package com.zhuiyun.project.utils;

/**
 * @ClassName ErrorCardUtils
 * @Description TODO
 * @Author wuwan
 * @Date 2023/11/10 11:12
 **/
public class ErrorCardUtils {
    public static void errorCard(String Errstr){
        if(Errstr.equals("ER08")){
                //"错误代码：8，未寻到卡，请重新拿开卡后再放到感应区！\n"
        } else if(Errstr.equals("ER22")){
            aaa(ER22);
        } else if(Errstr.equals("ER23")){
            aaa(ER23);
        } else if(Errstr.equals("ER24")){
            aaa(ER24);
        }else {
            aaa(ER25+Errstr);
        }
    }
    public static final String ER22 = "错误代码：ER22，动态库或驱动程序异常！";
    public static final String ER23 = "错误代码：ER23，驱动程序错误或尚未安装！";
    public static final String ER24 = "错误代码：ER24，操作超时，一般是动态库没有反映！";
    public static final String ER25 = "错误代码：";

    public static void aaa(String a){
        System.out.println(a);
    }
}
